﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using E_Commerce.Domain.Entities;

namespace E_Commerce.Domain.Interfaces
{
    /// <summary>
    /// 接口类型
    /// </summary>
    public interface IUserRepository:IRepository<Users>//Model类
    {
        //写Model这个模块的自己的方法接口
        /// <summary>
        /// 登录
        /// </summary>
        /// <param name="LoginName">用户名</param>
        /// <param name="LoginPwd">密码</param>
        /// <returns></returns>
        int LoginAsync(string LoginName, string LoginPwd);

    }
}
